package com.ruoyi.project.system.driverstationinfo.service.impl;

import java.util.List;

import com.ruoyi.project.system.driverstationinfo.domain.VeDriverstationinfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.system.driverstationinfo.mapper.VeDriverstationinfoMapper;
import com.ruoyi.project.system.driverstationinfo.domain.VeDriverstationinfo;
import com.ruoyi.project.system.driverstationinfo.service.IVeDriverstationinfoService;
import com.ruoyi.common.utils.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
@Service
public class VeDriverstationinfoServiceImpl implements IVeDriverstationinfoService 
{
    @Autowired
    private VeDriverstationinfoMapper veDriverstationinfoMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param DriverStationID 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public VeDriverstationinfo selectVeDriverstationinfoByDriverStationID(Long DriverStationID)
    {
        return veDriverstationinfoMapper.selectVeDriverstationinfoByDriverStationID(DriverStationID);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param veDriverstationinfo 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<VeDriverstationinfo> selectVeDriverstationinfoList(VeDriverstationinfo veDriverstationinfo)
    {
        return veDriverstationinfoMapper.selectVeDriverstationinfoList(veDriverstationinfo);
    }

    @Override
    public List<VeDriverstationinfoVo> selectVeDriverstationinfoList1(VeDriverstationinfoVo veDriverstationinfoVo) {
        return veDriverstationinfoMapper.selectVeDriverstationinfoList1(veDriverstationinfoVo);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param veDriverstationinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertVeDriverstationinfo(VeDriverstationinfo veDriverstationinfo)
    {
        return veDriverstationinfoMapper.insertVeDriverstationinfo(veDriverstationinfo);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param veDriverstationinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateVeDriverstationinfo(VeDriverstationinfo veDriverstationinfo)
    {
        return veDriverstationinfoMapper.updateVeDriverstationinfo(veDriverstationinfo);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param DriverStationIDs 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeDriverstationinfoByDriverStationIDs(String DriverStationIDs)
    {
        return veDriverstationinfoMapper.deleteVeDriverstationinfoByDriverStationIDs(Convert.toStrArray(DriverStationIDs));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param DriverStationID 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeDriverstationinfoByDriverStationID(Long DriverStationID)
    {
        return veDriverstationinfoMapper.deleteVeDriverstationinfoByDriverStationID(DriverStationID);
    }
}
